package com.ouyang.service;

import com.ouyang.dao.RentPeople.RentPeopleDao;
import com.ouyang.dao.RentPeople.RentPeopleDaoImpl;
import com.ouyang.poji.RentPeople;

import java.util.List;

public class RentPeopleServiceImpl implements RentPeopleService {
    private RentPeopleDao rentPeopleDao;
    public RentPeopleServiceImpl ( ) {
        this.rentPeopleDao = new RentPeopleDaoImpl();
    }
    @Override

    public List<RentPeople> getrentpeople ( ) {
        return rentPeopleDao.getrentpeoplelist();
    }
}
